package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 告警代码对象 sys_alarm_info
 * 
 * @author tony
 * @date 2025-02-16
 */
public class SysAlarmInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 告警代码 */
    @Excel(name = "告警代码")
    @ApiModelProperty(value = "告警代码")
    private Integer alarmCode;

    /** 告警级别 */
    @Excel(name = "告警级别")
    @ApiModelProperty(value = "告警级别")
    private String alarmLevel;

    /** 告警英文名 */
    @Excel(name = "告警英文名")
    @ApiModelProperty(value = "告警英文名")
    private String alarmEn;

    /** 告警中文名 */
    @Excel(name = "告警中文名")
    @ApiModelProperty(value = "告警中文名")
    private String alarmCn;

    /** 告警业务类型 */
    @Excel(name = "告警业务类型")
    @ApiModelProperty(value = "告警业务类型")
    private String alarmBusType;

    /** 告警分类 */
    @Excel(name = "告警分类")
    @ApiModelProperty(value = "告警分类")
    private String alarmClass;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAlarmCode(Integer alarmCode)
    {
        this.alarmCode = alarmCode;
    }

    public Integer getAlarmCode()
    {
        return alarmCode;
    }
    public void setAlarmLevel(String alarmLevel) 
    {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmLevel() 
    {
        return alarmLevel;
    }
    public void setAlarmEn(String alarmEn) 
    {
        this.alarmEn = alarmEn;
    }

    public String getAlarmEn() 
    {
        return alarmEn;
    }
    public void setAlarmCn(String alarmCn) 
    {
        this.alarmCn = alarmCn;
    }

    public String getAlarmCn() 
    {
        return alarmCn;
    }
    public void setAlarmBusType(String alarmBusType) 
    {
        this.alarmBusType = alarmBusType;
    }

    public String getAlarmBusType() 
    {
        return alarmBusType;
    }
    public void setAlarmClass(String alarmClass) 
    {
        this.alarmClass = alarmClass;
    }

    public String getAlarmClass() 
    {
        return alarmClass;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("alarmCode", getAlarmCode())
            .append("alarmLevel", getAlarmLevel())
            .append("alarmEn", getAlarmEn())
            .append("alarmCn", getAlarmCn())
            .append("alarmBusType", getAlarmBusType())
            .append("alarmClass", getAlarmClass())
            .toString();
    }
}
